solve for the missing variable ex 3